<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            width: 800px;
            height: 80px;
            background: pink;
            list-style: none;
            margin: 0 auto;
        }
        li{
            width: 80px;
            height: 40px;
            background: red;
            float: left;
            margin: 0 20px;
            text-align: center;
            line-height: 40px;
        }
        a{
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li><a href="#">首页</a></li>
            <li><a href="#">发现</a></li>
            <li><a href="#">商城</a></li>
            <li><a href="#">我的</a></li>
        </ul></a>
    </div>
</body>
</html>